﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BlogArticlesEdit.ascx.cs"
    Inherits="Micronet.OpenWeb.OpenWeb.Admin.Views.Shared.Blog.BlogArticleEdit" %>
<owc:OwDetailsView ID="BlogArticleEditdv" runat="server" AutoGenerateRows="False"
    DataKeyNames="BlogArticleID" DataSourceID="BlogArticleEditOds" OwNotificationID=""
    EnableModelValidation="True">
    <Fields>
        <asp:TemplateField>
            <InsertItemTemplate>
                <fieldset>
                    <legend>
                        <asp:Localize ID="Localize2" Text="<%$ OwR:GeneralInfo %>" runat="server"></asp:Localize>
                    </legend>
                    <div>
                        <owac:OwDetailCommonGroup ID="OwDetailCommonGroup" runat="server" OwBindContinentLocalityValue='<%# Bind("ContinentID") %>'
                            OwBindCountryLocalityValue='<%# Bind("CountryID") %>' OwBindProvinceLocalityValue='<%# Bind("ProvinceID") %>'
                            OwBindDistrictLocalityValue='<%# Bind("DistrictID") %>' OwBindWardLocalityValue='<%# Bind("WardID") %>'
                            OwCategoryVisible="False" OwSourceVisible="false" OwAuthorVisible="False" />
                        <br />
                    </div>
                </fieldset>
                <fieldset>
                    <legend><span>
                        <owc:OwR ID="InfoLabelOwR" runat="server" OwText="InfoLabel"></owc:OwR>
                    </span></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <owc:OwR ID="TitleLabelOwR" runat="server" OwText="TitleLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtTitle" runat="server" OwDefaultValue=""
                                        OwUsedForEdit="False" Text='<%# Bind("Title") %>' LabelWidth="" Width="125px">
                                    </owc:OwTextBox>
                                    <asp:RequiredFieldValidator Text="*" ID="RequiredFieldValidator1" runat="server"
                                        ErrorMessage=" <%$ OwR: TitleNotEmpty %>" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="SeoNameOwR" runat="server" OwText="SeoName"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="SeoNametxt" runat="server" OwDefaultValue=""
                                        OwUsedForEdit="False" Text='<%# Bind("SeoName") %>' LabelWidth="" Width="125px">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="BlogOwR" runat="server" OwText="Blog" OwSuffix=":"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="BlogCbb" runat="server" DataSourceID="BlogOds" DataTextField="Title"
                                        SkinID="OwComboBox" DataValueField="BlogID" AppendDataBoundItems="True" SelectedValue='<%# Bind("BlogID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="BriefLabelOwR" runat="server" OwText="BriefLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwEditor ID="BriefEditor" runat="server" OwStoragePlace="Common" Style="position: relative;"
                                        Content='<%# Bind("Brief") %>' SkinID="OwEditorBrief">
                                    </owc:OwEditor>
                                    <asp:RequiredFieldValidator Text="*" ID="BriefRequiredFieldValidator" runat="server"
                                        ControlToValidate="BriefEditor" ErrorMessage="NotEmpty"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="DetailOwR" runat="server" OwText="ContentLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwEditor ID="Detailtxt" runat="server" OwStoragePlace="Common" Style="position: relative;"
                                        Content='<%# Bind("Detail") %>' SkinID="OwEditorFull">
                                    </owc:OwEditor>
                                    <asp:RequiredFieldValidator Text="*" ID="DetailRequiredFieldValidator" runat="server"
                                        ControlToValidate="Detailtxt" ErrorMessage=" <%$ OwR: DetailNotEmpty %>"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="TagsOwR" runat="server" OwText="Tags"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="OwTagtxt" Text='<%# Bind("Tags") %>' runat="server"
                                        Rows="3" TextMode="MultiLine" Width="680px" TabIndex="1" OwUsedForEdit="False"
                                        LabelWidth="">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="NameVideOwR" runat="server" OwText="Video"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="OwVideoCbb" runat="server" DataSourceID="OwVideoOds" DataTextField="Name"
                                        SkinID="OwComboBox" DataValueField="VideoID" AppendDataBoundItems="True" SelectedValue='<%# Bind("VideoPlaylistID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="AlbumImageOwR" runat="server" OwText="Album Image"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="OwThumbImageCbb" runat="server" DataSourceID="OwThumbImageOds"
                                        SkinID="OwComboBox" DataTextField="Title" DataValueField="ImageAlbumID" SelectedValue='<%# Bind("ImageAlbumID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>
                        <owc:OwR ID="OwR8" OwText="InfoLabel" runat="server" /></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsHotChk" Checked='<%# Bind("IsHot") %>' /><owc:OwR
                                                ID="IsHotOwR" runat="server" OwText="IsHot" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="OwR9" runat="server" OwText="HotDisplayBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HotDisplayBeginDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HotDisplayBegin") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HotDisplayEndOwR" runat="server" OwText="HotDisplayEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HotDisPlayEndDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("HotDisplayEnd") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="HotDisplayBeginDt"
                                                            ControlToValidate="HotDisPlayEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsEnabledChk" Checked='<%# Bind("IsEnabled") %>' /><owc:OwR
                                                ID="IsEnabledOwR" runat="server" OwText="IsEnabled" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="EnableBeginOwR" runat="server" OwText="EnableBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="EnableBeginDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("EnableBegin") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="EnableEndOwR" runat="server" OwText="EnableEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="EnableEndDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("EnableEnd") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToCompare="EnableBeginDt"
                                                            ControlToValidate="EnableEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsHomeDisplayChk" Checked='<%# Bind("IsHomeDisplay") %>' /><owc:OwR
                                                ID="IsHomeDisplayOwR" runat="server" OwText="IsHomeDisplay" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HomeDisplayBeginOwR" runat="server" OwText="HomeDisplayBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HomeDisplayBeginDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HomeDisplayBegin") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HomeDisplayEndOwR" runat="server" OwText="HomeDisplayEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HomeDisplayEndDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HomeDisplayEnd") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToCompare="HomeDisplayBeginDt"
                                                            ControlToValidate="HomeDisplayEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwR ID="OwR1" runat="server" OwText="General" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="IsDeletedChk" Checked='<%# Bind("IsDeleted") %>' /><owc:OwR
                                                            ID="IsDeletedOwR" runat="server" OwText="IsDeleted" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="AllowSendPingBackChk" Checked='<%# Bind("AllowSendPingbackTrackback") %>' /><owc:OwR
                                                            ID="AllowSendPingBackOwR" runat="server" OwText="AllowSendPingBack" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="AllowReceivePingBackCbb" Checked='<%# Bind("AllowReceivePingbackTrackback") %>' /><owc:OwR
                                                            ID="OwR2" runat="server" OwText="AllowReceivePingBack" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="IsAllowCommentChk" Checked='<%# Bind("AllowComment") %>' /><asp:Localize
                                                            ID="Localize1" Text="<%$ OwR: IsCommentLabel %>" runat="server"></asp:Localize>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <fieldset>
                    <legend><span class="titleLegen">
                        <asp:Localize ID="Localize23" Text="<%$ OwR: ExtInfo %>" runat="server"></asp:Localize>
                    </span></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <asp:Localize ID="Localize6" runat="server" Text="<%$ OwR:CreatedDate %>"></asp:Localize>
                                    &nbsp;:
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtCreatedDate" runat="server" Enabled="False"
                                        Width="200px" OwDefaultValue='<%$ Ow:DateTime.Now %>' OwUsedForEdit="True" Text='<%# Bind("DateTimeCreated") %>'
                                        LabelWidth="">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Localize ID="Localize14" runat="server" Text="<%$ OwR:LastEditedDate %>"></asp:Localize>
                                    :
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtlastEditedDate" runat="server" Enabled="False"
                                        Width="200px" OwUsedForEdit="False" Text='<%#Eval("DateTimeEdited") %>'>
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <br />
                <br />
                <br />
            </InsertItemTemplate>
            <EditItemTemplate>
                <fieldset>
                    <legend>
                        <asp:Localize ID="Localize2" Text="<%$ OwR:GeneralInfo %>" runat="server"></asp:Localize>
                    </legend>
                    <div>
                        <owac:OwDetailCommonGroup ID="OwDetailCommonGroup" runat="server" OwBindContinentLocalityValue='<%# Bind("ContinentID") %>'
                            OwBindCountryLocalityValue='<%# Bind("CountryID") %>' OwBindProvinceLocalityValue='<%# Bind("ProvinceID") %>'
                            OwBindDistrictLocalityValue='<%# Bind("DistrictID") %>' OwBindWardLocalityValue='<%# Bind("WardID") %>'
                            OwCategoryVisible="False" OwSourceVisible="false" OwAuthorVisible="False" />
                        <br />
                    </div>
                </fieldset>
                <fieldset>
                    <legend><span>
                        <owc:OwR ID="InfoLabelOwR" runat="server" OwText="InfoLabel"></owc:OwR>
                    </span></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <owc:OwR ID="TitleLabelOwR" runat="server" OwText="TitleLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtTitle" runat="server" OwDefaultValue=""
                                        OwUsedForEdit="False" Text='<%# Bind("Title") %>' LabelWidth="">
                                    </owc:OwTextBox>
                                    <asp:RequiredFieldValidator Text="*" ID="RequiredFieldValidator1" runat="server"
                                        ErrorMessage=" <%$ OwR: TitleNotEmpty %>" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="SeoNameOwR" runat="server" OwText="SeoName"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="SeoNametxt" runat="server" OwDefaultValue=""
                                        OwUsedForEdit="False" Text='<%# Bind("SeoName") %>' LabelWidth="">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="BlogOwR" runat="server" OwText="Blog" OwSuffix=":"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="BlogCbb" runat="server" DataSourceID="BlogOds" DataTextField="Title"
                                        SkinID="OwComboBox" DataValueField="BlogID" AppendDataBoundItems="True" SelectedValue='<%# Bind("BlogID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="BriefLabelOwR" runat="server" OwText="BriefLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwEditor ID="BriefEditor" runat="server" OwStoragePlace="Common" Style="position: relative;
                                        top: 0px; left: 0px;" Content='<%# Bind("Brief") %>' SkinID="OwEditorBrief">
                                    </owc:OwEditor>
                                    <asp:RequiredFieldValidator Text="*" ID="BriefRequiredFieldValidator" runat="server"
                                        ControlToValidate="BriefEditor" ErrorMessage="NotEmpty"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <owc:OwR ID="DetailOwR" runat="server" OwText="ContentLabel"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwEditor ID="Detailtxt" runat="server" OwStoragePlace="Common" Style="position: relative;
                                        top: 0px; left: 0px;" Content='<%# Bind("Detail") %>' SkinID="OwEditorFull">
                                    </owc:OwEditor>
                                    <asp:RequiredFieldValidator Text="*" ID="DetailRequiredFieldValidator" runat="server"
                                        ControlToValidate="Detailtxt" ErrorMessage=" <%$ OwR: DetailNotEmpty %>"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="TagsOwR" runat="server" OwText="Tags"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="OwTagtxt" Text='<%# Bind("Tags") %>' runat="server"
                                        Rows="3" TextMode="MultiLine" Width="680px" TabIndex="1" OwDefaultValue="" OwUsedForEdit="False">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="NameVideOwR" runat="server" OwText="Video"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="OwVideoCbb" runat="server" DataSourceID="OwVideoOds" DataTextField="Name"
                                        SkinID="OwComboBox" DataValueField="VideoID" AppendDataBoundItems="True" SelectedValue='<%# Bind("VideoPlaylistID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftcolumn">
                                    <owc:OwR ID="AlbumImageOwR" runat="server" OwText="Album Image"></owc:OwR>
                                </td>
                                <td>
                                    <owc:OwComboBox ID="OwThumbImageCbb" runat="server" DataSourceID="OwThumbImageOds"
                                        SkinID="OwComboBox" DataTextField="Title" DataValueField="ImageAlbumID" SelectedValue='<%# Bind("ImageAlbumID") %>'>
                                    </owc:OwComboBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>
                        <owc:OwR ID="OwR8" OwText="InfoLabel" runat="server" /></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsHotChk" Checked='<%# Bind("IsHot") %>' /><owc:OwR
                                                ID="IsHotOwR" runat="server" OwText="IsHot" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="OwR9" runat="server" OwText="HotDisplayBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HotDisplayBeginDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HotDisplayBegin") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HotDisplayEndOwR" runat="server" OwText="HotDisplayEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HotDisPlayEndDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("HotDisplayEnd") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="HotDisplayBeginDt"
                                                            ControlToValidate="HotDisPlayEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsEnabledChk" Checked='<%# Bind("IsEnabled") %>' /><owc:OwR
                                                ID="IsEnabledOwR" runat="server" OwText="IsEnabled" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="EnableBeginOwR" runat="server" OwText="EnableBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="EnableBeginDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("EnableBegin") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="EnableEndOwR" runat="server" OwText="EnableEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="EnableEndDt" runat="server"
                                                            Culture="en-US" DbSelectedDate='<%# Bind("EnableEnd") %>' MaxDate="12/31/9999 23:59:59"
                                                            MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>' OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToCompare="EnableBeginDt"
                                                            ControlToValidate="EnableEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwCheckBox runat="server" ID="IsHomeDisplayChk" Checked='<%# Bind("IsHomeDisplay") %>' /><owc:OwR
                                                ID="IsHomeDisplayOwR" runat="server" OwText="IsHomeDisplay" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HomeDisplayBeginOwR" runat="server" OwText="HomeDisplayBegin" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HomeDisplayBeginDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HomeDisplayBegin") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow: DateTime.Now %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwR ID="HomeDisplayEndOwR" runat="server" OwText="HomeDisplayEnd" />
                                                    </td>
                                                    <td>
                                                        <owc:OwDateTimePicker SkinID="OwDateTimePickerDetailAdmin" ID="HomeDisplayEndDt"
                                                            runat="server" Culture="en-US" DbSelectedDate='<%# Bind("HomeDisplayEnd") %>'
                                                            MaxDate="12/31/9999 23:59:59" MinDate="" OwDefaultValue='<%$ Ow:OwPC.PCEx.DateTimeMax2 %>'
                                                            OwUsedForEdit="False">
                                                            <TimeView CellSpacing="-1">
                                                            </TimeView>
                                                        </owc:OwDateTimePicker>
                                                        <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToCompare="HomeDisplayBeginDt"
                                                            ControlToValidate="HomeDisplayEndDt" ErrorMessage="<%$ OwR:EnableEndGreaterThanEnableBegin %>"
                                                            Operator="GreaterThan"></asp:CompareValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                                <td>
                                    <fieldset>
                                        <legend>
                                            <owc:OwR ID="OwR1" runat="server" OwText="General" /></legend>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="IsDeletedChk" Checked='<%# Bind("IsDeleted") %>' /><owc:OwR
                                                            ID="IsDeletedOwR" runat="server" OwText="IsDeleted" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="AllowSendPingBackChk" Checked='<%# Bind("AllowSendPingbackTrackback") %>' /><owc:OwR
                                                            ID="AllowSendPingBackOwR" runat="server" OwText="AllowSendPingBack" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="AllowReceivePingBackCbb" Checked='<%# Bind("AllowReceivePingbackTrackback") %>' /><owc:OwR
                                                            ID="OwR2" runat="server" OwText="AllowReceivePingBack" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <owc:OwCheckBox runat="server" ID="IsAllowCommentChk" Checked='<%# Bind("AllowComment") %>' /><asp:Localize
                                                            ID="Localize1" Text="<%$ OwR: IsCommentLabel %>" runat="server"></asp:Localize>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </fieldset>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <fieldset>
                    <legend><span class="titleLegen">
                        <asp:Localize ID="Localize23" Text="<%$ OwR: ExtInfo %>" runat="server"></asp:Localize>
                    </span></legend>
                    <div>
                        <table width="100%">
                            <tr>
                                <td>
                                    <asp:Localize ID="Localize6" runat="server" Text="<%$ OwR:CreatedDate %>"></asp:Localize>
                                    &nbsp;:
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtCreatedDate" runat="server" Enabled="False"
                                        Width="200px" OwUsedForEdit="True" Text='<%# Eval("DateTimeCreated") %>' LabelWidth="">
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Localize ID="Localize14" runat="server" Text="<%$ OwR:LastEditedDate %>"></asp:Localize>
                                    :
                                </td>
                                <td>
                                    <owc:OwTextBox SkinID="owTextBox" ID="txtlastEditedDate" runat="server" Enabled="False"
                                        Width="200px" OwDefaultValue='<%$ Ow: DateTime.Now %>' OwUsedForEdit="False"
                                        Text='<%# Bind("DateTimeEdited") %>'>
                                    </owc:OwTextBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
                <br />
                <br />
                <br />
            </EditItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField ShowHeader="False">
            <EditItemTemplate>
                <fieldset style="position: fixed; bottom: 0px; right: 0px; width: 100%">
                    <legend>
                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ OwR: Action %>" /></legend>
                    </owc:OwButton>
                    <owc:OwButton ID="EditUpdateThenCloseButton" runat="server" CommandName="Update"
                        Text='<%$OwR:Update %>' OnClientClicking="showNotification">
                    </owc:OwButton>
                    &nbsp;
                    <owc:OwConfirmButton ID="EditDeleteButton" runat="server" CausesValidation="True"
                        CommandName="Delete" Text="<%$OwR:Delete %>" SkinID="OwConfirmButton">
                    </owc:OwConfirmButton>
                    &nbsp;<owc:OwButton ID="EditCancelButton" runat="server" CausesValidation="False"
                        CommandName="Cancel" Text="<%$OwR:Cancel %>">
                    </owc:OwButton>
                </fieldset>
            </EditItemTemplate>
            <InsertItemTemplate>
                <fieldset style="position: fixed; bottom: 0px; right: 0px; width: 100%">
                    <legend>
                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ OwR: Action %>" /></legend>
                    <owc:OwButton ID="InsertInsertButton" runat="server" CommandName="Insert" Text="<%$OwR:Insert %>"
                        OnClientClicking="showNotification">
                    </owc:OwButton>
                    &nbsp;<owc:OwButton ID="InsertCancelButton" runat="server" CausesValidation="False"
                        CommandName="Cancel" Text="<%$OwR:Cancel %>">
                    </owc:OwButton>
                </fieldset>
            </InsertItemTemplate>
        </asp:TemplateField>
    </Fields>
</owc:OwDetailsView>
<owc:OwObjectDataSource ID="BlogArticleEditOds" runat="server" DataObjectTypeName="Micronet.OpenWeb.Entity.OwBlogArticlesEntity"
    DeleteMethod="OwDelete" InsertMethod="OwInsert" OldValuesParameterFormatString="original_{0}"
    SelectMethod="OwGetEntity" TypeName="Micronet.OpenWeb.Com.BLL.OwBlogArticlesBLL"
    UpdateMethod="OwUpdate">
    <SelectParameters>
        ss<asp:QueryStringParameter Name="blogArticleID" QueryStringField="<%$ Ow:OwConstants.QueryString.ID %>" />
    </SelectParameters>
</owc:OwObjectDataSource>
<owc:OwObjectDataSource ID="OwVideoOds" runat="server" DataObjectTypeName="Micronet.OpenWeb.Entity.OwVideosEntity"
    DeleteMethod="OwDelete" InsertMethod="OwInsert" OldValuesParameterFormatString="original_{0}"
    SelectMethod="OwGetAll" TypeName="Micronet.OpenWeb.Com.BLL.OwVideosBLL" UpdateMethod="OwUpdate">
    <SelectParameters>
        <asp:Parameter Name="sortClause" Type="String" />
        <asp:Parameter Name="sortDirection" Type="String" />
        <asp:Parameter Name="startRowIndex" Type="Int32" />
        <asp:Parameter Name="maximumRows" Type="Int32" />
    </SelectParameters>
</owc:OwObjectDataSource>
<owc:OwObjectDataSource ID="OwThumbImageOds" runat="server" OldValuesParameterFormatString="original_{0}"
    SelectMethod="OwGetAll" TypeName="Micronet.OpenWeb.Com.BLL.OwImageAlbumsBLL">
    <SelectParameters>
        <asp:Parameter Name="sortClause" Type="String" />
        <asp:Parameter Name="sortDirection" Type="String" />
        <asp:Parameter Name="startRowIndex" Type="Int32" />
        <asp:Parameter Name="maximumRows" Type="Int32" />
    </SelectParameters>
</owc:OwObjectDataSource>
<owc:OwObjectDataSource runat="server" ID="BlogOds" DataObjectTypeName="Micronet.OpenWeb.Entity.OwBlogsEntity"
    DeleteMethod="OwDelete" InsertMethod="OwInsert" OldValuesParameterFormatString="original_{0}"
    SelectMethod="OwGetAll" TypeName="Micronet.OpenWeb.Com.BLL.OwBlogsBLL" UpdateMethod="OwUpdate">
    <SelectParameters>
        <asp:Parameter Name="sortClause" Type="String" />
        <asp:Parameter Name="sortDirection" Type="String" />
        <asp:Parameter Name="startRowIndex" Type="Int32" />
        <asp:Parameter Name="maximumRows" Type="Int32" />
    </SelectParameters>
</owc:OwObjectDataSource>
